package com.open.ssm.mqtt;

/**
 * MQTT相关常量
 *
 * @version: v1.0.0
 * @author: wangpf
 * @date: 2022年11月29日 下午3:48:28
 */
public class MqttConstants {
	
	// AI识别结果，通配符
	public static final String SUB_DEVICE_DATAS = "SUB_edge_datas";
	public static final String TOPIC_DEVICES_DATAS = "/v1/devices/+/datas";
	public static final String TOPIC_DEVICES_DATAS_PREFIX = "/v1/devices/";
	public static final String TOPIC_DEVICES_DATAS_SUFFIX = "/datas";
	
	// 智能地锁升降 / 车辆黑白名单下发，命令响应
	public static final String SUB_DEVICE_COMMAND = "SUB_edge_command";
	public static final String TOPIC_DEVICES_COMMANDRES = "/v1/devices/+/commandResponse";
	public static final String TOPIC_DEVICES_COMMANDRES_PREFIX = "/v1/devices/";
	public static final String TOPIC_DEVICES_COMMANDRES_SUFFIX = "/commandResponse";
	
	// 充电桩启停控制
	public static final String SUB_DEVICES_STAKECHARGE = "SUB_stake_evcharge";
	public static final String TOPIC_DEVICES_STAKECHARGE = "/v1/devices/+/charge";
	public static final String TOPIC_DEVICES_STAKECHARGE_PREFIX = "/v1/devices/";
	public static final String TOPIC_DEVICES_STAKECHARGE_SUFFIX = "/charge";
	
	public static final String PUB_DEVICE_CLIENTID = "PUB_edge_device";
	
}
